//无序合成
onEvent('recipes', (event) => {
    const id = 'nr2:base/start/shapless/';
    const recipes = [
        {
            output: 'minecraft:tnt',
            input: ['kubejs:polluted_dust','minecraft:gunpowder','minecraft:clay_ball','kubejs:black_debris_debris'],
            id: `${id}tnt`
        },
        {
            output: 'minecraft:stone_button',
            input: ['kubejs:polluted_dirt'],
            id: `${id}button`
        },
        {
            output: 'kubejs:polluted_dust_module',
            input: ['kubejs:orange_debris_debris','kubejs:polluted_dirt','kubejs:polluted_dirt','kubejs:polluted_dirt'],
            id: `${id}part_granite`
        },
        {
            output: '9x kubejs:coarse_crystal_ingot',
            input: ['kubejs:coarse_block'],
            id: `${id}9xingot`
        },
        {
            output: '10x tconstruct:pattern',
            input: ['create:andesite_alloy','kubejs:polluted_dust_module','create:andesite_alloy','kubejs:polluted_dust_module'],
            id: `${id}pattern`
        },
        {
            output: Item.of('tconstruct:crafting_station', '{texture:"kubejs:polluted_dirt"}'),
            input: ['tconstruct:pattern','kubejs:polluted_dirt'],
            id: `${id}crafting_station`
        },
        {
            output: '4x tconstruct:grout',
            input: ['minecraft:gravel','minecraft:clay_ball','kubejs:coarse_crystal_ingot'],
            id: `${id}grout`
        },
        {
            output: 'create:mechanical_piston',
            input: ['minecraft:piston','create:gearbox'],
            id: `${id}mechanical_piston`
        },
        {
            output: '4x pneumaticcraft:pressure_chamber_wall',
            input: ['create:brass_casing','pneumaticcraft:reinforced_stone','pneumaticcraft:reinforced_stone','pneumaticcraft:reinforced_stone','pneumaticcraft:reinforced_stone'],
            id: `${id}pressure_chamber_wall`
        },
        {
            output: 'pneumaticcraft:pressure_chamber_valve',
            input: ['pneumaticcraft:pressure_tube','pneumaticcraft:pressure_chamber_wall'],
            id: `${id}pressure_chamber_valve`
        },
        {
            output: 'pneumaticcraft:pressure_gauge',
            input: ['pneumaticcraft:ingot_iron_compressed','create:speedometer'],
            id: `${id}pressure_gauge`
        },
        {
            output: 'minecraft:leather',
            input: ['minecraft:rotten_flesh','minecraft:rotten_flesh','minecraft:rotten_flesh','minecraft:rotten_flesh','kubejs:orange_debris_debris'],
            id: `${id}leather`
        },
        {
            output: 'minecraft:crying_obsidian',
            input: ['thermal:lightning_charge','minecraft:obsidian'],
            id: `${id}crying_obsidian`
        },
        {
            output: 'multiblocked:item_input',
            input: ['kubejs:stagemachinery_1','pneumaticcraft:omnidirectional_hopper'],
            id: `${id}mbditem_input`
        },
        {
            output: 'multiblocked:item_output',
            input: [ 'multiblocked:item_input'],
            id: `${id}mbditem_output`
        },
        {
            output: 'multiblocked:energy_input',
            input: [ 'multiblocked:item_input','pipez:energy_pipe'],
            id: `${id}mbdenergy_input`
        },
        {
            output: 'nr2_bd:item_output_1',
            input: ['nr2_bd:item_input_1'],
            id: `${id}item_output_1`
        },
        {
            output: 'nr2_bd:item_input_1',
            input: ['ironchest:diamond_chest','multiblocked:item_input','kubejs:stagemachinery_2'],
            id: `${id}item_input_1`
        },
        {
            output:'mekanism:qio_drive_base',
            input: ['refinedstorage:16k_storage_part'],
            id: `${id}qio_drive_base_1`
        },
        {
            output:'refinedstorage:16k_storage_part',
            input: ['mekanism:qio_drive_base'],
            id: `${id}16k_storage_part_1`
        },
        {
            output:'2x refinedstorage:64k_storage_part',
            input: ['mekanism:qio_drive_hyper_dense'],
            id: `${id}64k_storage_part_1`
        },
        {
            output:'mekanism:qio_drive_hyper_dense',
            input: ['refinedstorage:64k_storage_part','refinedstorage:64k_storage_part'],
            id: `${id}qio_drive_hyper_dense_1`
        },
        {
            output:'extrastorage:storagepart_1024k',
            input: ['mekanism:qio_drive_time_dilating'],
            id: `${id}storagepart_1024k_1`
        },
        {
            output:'mekanism:qio_drive_time_dilating',
            input: ['extrastorage:storagepart_1024k'],
            id: `${id}qio_drive_time_dilating_1`
        },
        {
            output : 'mekanism:cardboard_box',
            input: ['pneumaticcraft:plastic','pneumaticcraft:plastic','pneumaticcraft:plastic','pneumaticcraft:plastic'],
            id: `${id}cardboard_box`
        },
        {
            output : 'minecraft:brown_dye',
            input : ['kubejs:softclay_cake'],    
            id: `${id}brown_dye`
        },
        {
            output : 'create:redstone_link',
            input : ['modularrouters:item_router','modularrouters:sender_module_3','modularrouters:redstone_augment'],
            id: `${id}redstone_link`
        },
        {
            output : 'enderstorage:ender_chest',
            input : ['modularrouters:item_router','modularrouters:sender_module_3','modularrouters:sender_module_3','modularrouters:sender_module_3','modularrouters:sender_module_3','modularrouters:sender_module_3','modularrouters:sender_module_3','modularrouters:sender_module_3','modularrouters:sender_module_3'],
            id: `${id}enderchest_2`
        },
        {
            output : 'enderstorage:ender_tank',
            input : ['modularrouters:item_router','modularrouters:fluid_upgrade','modularrouters:sender_module_3','modularrouters:sender_module_3','modularrouters:sender_module_3','modularrouters:sender_module_3','modularrouters:sender_module_3','modularrouters:sender_module_3','modularrouters:sender_module_3'],
            id: `${id}endertank_2`
        },
        {
            output : 'mekanismgenerators:turbine_blade',
            input : ['pneumaticcraft:flow_detector_module','pneumaticcraft:turbine_blade','pneumaticcraft:turbine_blade','pneumaticcraft:turbine_blade','pneumaticcraft:turbine_blade'],
            id : `${id}turbine_blade`
        },
        {
            output : '4x minecraft:oak_planks',
            input : ['minecraft:oak_log'],
            id : `${id}oak_log`
        },
        //
        {
            output : '2x minecraft:stick',
            input : ['minecraft:oak_planks','minecraft:oak_planks'],
            id : `${id}stick`
        },
        {
            output : 'create:shaft',
            input : ['create:andesite_alloy','minecraft:iron_bars'],
            id : `${id}shhhhaft`
        },
        {
            output: Item.of('akashictome:tome', '{"akashictome:is_morphing":1b,"akashictome:data":{modularrouters:{id:"patchouli:guide_book",Count:1b,tag:{"patchouli:book":"modularrouters:book"}},rftoolsbase:{id:"rftoolsbase:manual",Count:1b},theoneprobe:{id:"theoneprobe:probenote",Count:1b},pneumaticcraft:{id:"patchouli:guide_book",Count:1b,tag:{"patchouli:book":"pneumaticcraft:book"}},immersiveengineering:{id:"immersiveengineering:manual",Count:1b}}}'),
            input : ['kubejs:polluted_dust'],
            id : `${id}good_book`
        },
        {
            output : Item.of('morphtool:tool', '{"morphtool:data":{pneumaticcraft:{id:"pneumaticcraft:pneumatic_wrench",Count:1b,tag:{"pneumaticcraft:air":30000}},pipez:{id:"pipez:wrench",Count:1b},thermal:{id:"thermal:wrench",Count:1b},create:{id:"create:wrench",Count:1b},rftoolsbase:{id:"rftoolsbase:smartwrench",Count:1b},refinedstorage:{id:"refinedstorage:wrench",Count:1b}}}'),
            input : ['thermal:wrench'],
            id : `${id}good_wrench`
        },
        {
            output : 'minecraft:dirt',
            input : ['quark:dirt_bricks_stairs'],
            id : `${id}dirt_bricks_stairs`
        },
        {
            output : 'minecraft:green_dye',
            input : ['quark:green_crystal'],
            id : `${id}dyegreen_crystal`
        },
        {
            output : 'minecraft:yellow_dye',
            input : ['quark:yellow_crystal'],
            id : `${id}dyyellow_crystal`
        },
        {
            output : 'create:goggles',
            input : ['#forge:plates/bronze','minecraft:string','minecraft:glass'],
            id : `${id}goggles`
        },
        {
            output : 'modularrouters:placer_module',
            input : ['modularrouters:blank_module','minecraft:dispenser','pneumaticcraft:compressed_iron_block'],
            id : `${id}placer_module`
        },
        {
            output : 'minecraft:nether_wart',
            input : ['minecraft:seagrass','minecraft:spider_eye'],
            id : `${id}nether_wart`
        },
        {
            output : 'draconicevolution:info_tablet',
            input : ['draconicevolution:draconium_ingot','minecraft:book'],
            id : `${id}info_tablet`
        },
        {
            output : 'mob_grinding_utils:tank',
            input : ['create:fluid_tank','#forge:plates/iron','#forge:plates/iron','#forge:plates/iron','#forge:plates/iron'],
            id : `${id}mob_tanks`
        },
        {
            output : 'minecraft:red_dye',
            input : ['quark:red_crystal'],
            id : `${id}mccolor_red`
        },
        {
            output : 'thermal:lightning_charge',
            input : ['minecraft:gunpowder','minecraft:coal','astralsorcery:aquamarine'],
            id : `${id}mclightning_charge`
        }
        
        
        

        
        
    ];


    recipes.forEach((recipe) => {
        event.shapeless(recipe.output, recipe.input).id(recipe.id);
    });

});